package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {


    @RequestMapping("/admin/adminUser/supplier")
    public String page1() {
        return "adminUser/supplier";
    }

    @RequestMapping("/admin/adminUser/employee")
    public String page2() {
        return "adminUser/employee";
    }

    @RequestMapping("/admin/adminUser/goods")
    public String page3() {
        return "adminUser/goods";
    }


    @RequestMapping("/admin/adminUser/purchase/purchaseDetails")
    public String page4() {
        return "adminUser/purchaseDetails";
    }

    @RequestMapping("/admin/adminUser/purchase/purchaseMain")
    public String page5() {
        return "adminUser/purchaseMain";
    }



    @RequestMapping("/admin/adminUser/purchase")
    public String page7() {
        return "adminUser/purchase";
    }
    @RequestMapping("/admin/adminUser/vip")
    public String page8(){return "adminUser/vip";}
    @RequestMapping("/admin/adminUser/index")//管理员用户菜单栏
    public String page9(){return "adminUser/index";}
    @RequestMapping("/user/normalUser/normalindex")//普通用户菜单栏
    public String page10(){return "/normalUser/normalindex";}
    @RequestMapping("/user/start")//用户选择界面
    public String page11(){return "start"; }



}



